package com.qi.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qi.pojo.entity.Club;
import com.qi.pojo.entity.Role;
import lombok.Data;

import java.util.Date;

@Data
public class UserDetails {
    private Long id;
    private String username;
    private String password;
    private String name;
    private String gender;
    private String phone;
    private String email;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Club club;
    private Role role;
}
